﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>

    <link rel="shortcut icon" type="image/x-icon" href="@Url.Content("~/favicon.ico")" />

    <link href="@Url.Content("~/Content/themes/custom-theme/jquery-ui-1.8.13.custom.css")" rel="stylesheet" type="text/css" />  
    <link href="@Url.Content("~/Content/Style.css")" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.13.custom.min.js")" type="text/javascript"></script>

</head>


<body class="page page-child page-template content-sidebar">
    <div id="wrap">

             <div id="nav">
                    <div class="wrap">
                        <ul class="nav superfish">
                            @if (User.Identity.IsAuthenticated)
                            {
                                  @Html.Partial("_HomeMenu")
        
                                <li class="page_item">@Html.ActionLink("Coworkers", "CoWorkers", "Home", new { area = "" }, null)</li>
                            }    
                            <li class="home">@Html.Partial("_LogOnPartial")</li>
                        </ul>
                    </div>
                </div>
        
        <div id="header">
            <div class="wrap">
                <div id="title-area">
                    <h1 id="title">@Html.ActionLink("Progress", "ByCreators", "Ticket", new { area = "Projects" }, null)</h1>
                </div>
                   @Html.Partial("_SearchBar")
            </div>
        </div>

        @Html.Partial("_SubHomeMenu")      
           
        <div class="wrap" style="width: 962px; margin: 0 auto;">
                @if (TempData["message"] != null) { @Html.Partial("_Message") }
        
                @if (TempData["errorMessage"] != null) { @Html.Partial("_ErrorMessage") }                                                      
        </div>
                    
        <div id="inner">
            <div id="content-sidebar-wrap">    
            @RenderBody()
           </div>
        </div>

        <div class="footer-widgets" id="footer-widgets">
            <div class="wrap">
         
        </div>
        <!-- end .wrap -->
        </div>

        <div id="footer" class="footer">
            <div class="wrap">
                <div class="gototop">
                    <p><a rel="nofollow" href="#wrap">Return to top of page</a></p>
                </div>
                
                <div class="creds">
                    <p>
                        Copyright &copy; 2011
                        @Html.ActionLink("Sign in", "LogOn", "Account", new { area = "" }, null)
                    </p>
                </div>

            </div>
        </div>


    </div>
</body>
</html>



